package com.starnet.yarnmonitor.yarn.vo;

import lombok.Data;

/**
 * 集群总览
 */
@Data
public class MetricsVO {
    //已提交应用数
    private Integer appsSubmitted;
    //已完成应用数
    private Integer appsCompleted;
    //待完成应用数
    private Integer appsPending;
    //正在运行的应用
    private Integer appsRunning;
    //运行失败的应用
    private Integer appsFailed;
    //杀死的应用
    private Integer appsKilled;
    //预留的内存MB
    private Integer reservedMB;
    //可使用的内存MB
    private Integer availableMB;
    //已分配的内存MB
    private Integer allocatedMB;
    //预留的虚拟核心
    private Integer reservedVirtualCores;
    //可获得的内存核心
    private Integer availableVirtualCores;
    //已分配的虚拟核心
    private Integer allocatedVirtualCores;
    //已分配的容器
    private Integer containersAllocated;
    //预留的容器
    private Integer containersReserved;
    //待定的容器
    private Integer containersPending;
    //总内存MB
    private Integer totalMB;
    //总虚拟核心
    private Integer totalVirtualCores;
    //总节点数
    private Integer totalNodes;
    //丢失节点数
    private Integer lostNodes;
    //不健康的节点数
    private Integer unhealthyNodes;
    //正在退役的节点数
    private Integer decommissioningNodes;
    //已退役的节点数
    private Integer decommissionedNodes;
    //重启的节点数
    private Integer rebootedNodes;
    //活跃的节点数
    private Integer activeNodes;
    //终止的节点数
    private Integer shutdownNodes;
}
